﻿var result = new function Result()
{
	var type = {};
	type.property1 = 45;
	type.property2 = function (x, y)
	{
	};

	var result = function jump(a, b)
	{
		return a * b;
	};

	result.alternate = function alternate(x, y)
	{
		return x % 2 == 0 ? x : y;
	};

	result.type = type;

	return result;
};